package FlowGraph.Nodes;

import antlr.collections.AST;

import FlowGraph.FlowGraphNode;
import FlowGraph.StatementInfo.StatementInfo;

//////////////////////////////////////////////////////////////////////////
//// ForEndNode
/**

@author Ivan Jeukens
@version v 0.1 03/10/2001
*/
public class ForEndNode extends FlowGraphNode implements LoopEndNode {

    public ForEndNode(AST statement) {
        super(statement, FOR_END, 2, 1);

        _statementInfo = new StatementInfo(this, null);
    }
    
    ///////////////////////////////////////////////////////////////////
    ////                        public methods                     ////
 
    public String toString() {
        return new String("end of for(" +  ")");
    }

    public StatementInfo getStatementInfo() {
        return _statementInfo;
    }

    ///////////////////////////////////////////////////////////////////
    ////                      private variables                    ////
    
    // as vezes, um no de output pode colocar informacoes de def e 
    // use aqui.
    private StatementInfo _statementInfo;
}
